#ifndef GfxStats_H
#define GfxStats_H

class GfxStats
{
public:
	GfxStats(void);
	~GfxStats(void);

	void onLostDevice();
	void onResetDevice();

	void addVertices(DWORD n);
	void subVertices(DWORD n);
	void addTriangles(DWORD n);
	void subTriangles(DWORD n);

	void setTriCount(DWORD n);
	void setVertexCount(DWORD n);

	void update(float dt);
	void display();

private:
	//Prevent copying
	GfxStats(const GfxStats& rhs);
	GfxStats& operator=(const GfxStats& rhs);

private:
	ID3DXFont*	mFont;
	float		mFPS;
	float		mMilliSecPerFrame;
	DWORD		mNumTris;
	DWORD		mNumVertices;
};


#endif


